package com.acme.bankapp;

import com.acme.bankapp.domain.bank.Bank;
import com.acme.bankapp.domain.bank.transport.ServerStub;
import com.acme.bankapp.service.bank.BankService;

import java.io.IOException;

public class BankServer {

    public static void main(String... args) throws IOException {
        Bank bank = new Bank();
        try {
            ServerStub.handleClients(bank);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

}
